package com.ztesoft.huangfu.learning.springboot.springbootexportexcel.service;

import cn.afterturn.easypoi.handler.impl.ExcelDataHandlerDefaultImpl;
import com.ztesoft.huangfu.learning.springboot.springbootexportexcel.entity.User;
import lombok.extern.slf4j.Slf4j;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/6/3
 * Time: 21:42
 * Version: 1.0
 * Description:
 **/
@Slf4j
public class UserExcelHandler extends ExcelDataHandlerDefaultImpl<User> {

    @Override
    public Object importHandler(User obj, String name, Object value) {
        log.info(name + ":" + value);
        return super.importHandler(obj, name, value);
    }
}
